Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better python package guessing #4

Merged
merged 6 commits into from
Sep 7, 2019
Merged

better python package guessing #4

merged 6 commits into from
Sep 7, 2019

Conversation

turbio
Copy link

@turbio turbio commented Sep 4, 2019

pipreqs doesn't quite get the job done reliably for what we're trying to do.

Instead we've gone and generated our own mapping of every pypi package (that poetry can install) to the modules it makes available. This module list intentionally includes the modules of transitive dependencies.

@turbio turbio added the boop label Sep 4, 2019
@raxod502
Copy link
Contributor

raxod502 commented Sep 5, 2019

Why does it include transitive dependencies?

@turbio
Copy link
Author

turbio commented Sep 5, 2019

@raxod502 they're used over here: #6
it doesn't make a whole lot of sense for the guessing step but it seems to give better results than pipreqs. If I have time separate transitive/direct modules them in the future.

ignore python modules made available by existing packages
@turbio turbio merged commit bce3db2 into master Sep 7, 2019
@turbio turbio deleted the mc-pyguess branch September 7, 2019 02:50
@turbio
Copy link
Author

turbio commented Sep 7, 2019

follow up issue #7

@turbio turbio removed the boop label Sep 7, 2019
@PatMyron PatMyron mentioned this pull request Oct 12, 2022
6 tasks
@blast-hardcheese blast-hardcheese added the bug Something isn't working label Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants